﻿<%@ Page Title="Registrér" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Register.aspx.cs" Inherits="BetterWebBooking.Account.Register1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="FeaturedContent" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <hgroup class="title">
        <h1><%: Title %>.</h1>
        <h2>Log ind ved hjælp af formen nedenunder</h2>
    </hgroup>

    <fieldset>
        <legend>Registration Form</legend>
        <ol>
            <li>
                <asp:Label ID="Label1" runat="server" AssociatedControlID="UserName">Brugernavn</asp:Label>
                <asp:TextBox runat="server" ID="UserName" />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="UserName"
                    CssClass="field-validation-error" ErrorMessage="Brugernavn er nødvendigt" />
            </li>
            <li>
                <asp:Label ID="Label2" runat="server" AssociatedControlID="Email">Emailadresse</asp:Label>
                <asp:TextBox runat="server" ID="Email" TextMode="Email" />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="Email"
                    CssClass="field-validation-error" ErrorMessage="Email er nødvendigt" />
            </li>
            <li>
                <asp:Label ID="Label3" runat="server" AssociatedControlID="Password">Password</asp:Label>
                <asp:TextBox runat="server" ID="Password" TextMode="Password" />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="Password"
                    CssClass="field-validation-error" ErrorMessage="Password er nødvendigt" />
            </li>
            <li>
                <asp:Label ID="Label4" runat="server" AssociatedControlID="ConfirmPassword">Validér password</asp:Label>
                <asp:TextBox runat="server" ID="ConfirmPassword" TextMode="Password" />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="ConfirmPassword"
                    CssClass="field-validation-error" Display="Dynamic" ErrorMessage="Du skal validere dit password" />
                <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="Password" ControlToValidate="ConfirmPassword"
                    CssClass="field-validation-error" Display="Dynamic" ErrorMessage="Passwords er ikke ens" />
            </li>
            <li>
                <asp:Label ID="Label5" runat="server" AssociatedControlID="Name">Fulde Navn</asp:Label>
                <asp:TextBox runat="server" ID="Name" />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="Name"
                    CssClass="field-validation-error" ErrorMessage="Navn er nødvendigt" />
            </li>
            <li>
                <asp:Label ID="Label6" runat="server" AssociatedControlID="Address">Adressë</asp:Label>
                <asp:TextBox runat="server" ID="Address" />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="Address"
                    CssClass="field-validation-error" ErrorMessage="adresse er nødvendigt" />
            </li>
            <li>
                <asp:Label ID="Label7" runat="server" AssociatedControlID="Zip">Postnr</asp:Label>
                <asp:TextBox runat="server" ID="Zip" />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="Zip"
                    CssClass="field-validation-error" ErrorMessage="Postnr er nødvendigt" />
            </li>

        </ol>
        <asp:Button ID="Button1" runat="server" CommandName="MoveNext" Text="Registrér" OnClick="Button1_Click" />
    </fieldset>
</asp:Content>
